//
//  LOtteryPredictCell.m
//  DaleTou
//
//  Created by candyxj on 2018/5/28.
//  Copyright © 2018年 geren. All rights reserved.
//

#import "LOtteryPredictCell.h"



@interface LOtteryPredictCell()

@property (weak, nonatomic) IBOutlet UILabel *titleLb;
@property (weak, nonatomic) IBOutlet UILabel *dateLb;
@property (weak, nonatomic) IBOutlet UIButton *supportBtn;

@end



@implementation LOtteryPredictCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}




-(void)setDataDic:(NSDictionary *)dataDic{
    
    _dataDic = dataDic;
    self.titleLb.text = [NSString stringWithFormat:@"%@",dataDic[@"title"]];
    self.dateLb.text = [NSString stringWithFormat:@"%@",dataDic[@"date"]];
    [self.supportBtn setTitle:[NSString stringWithFormat:@"%@",dataDic[@"num"]] forState:UIControlStateNormal];
    
}

@end
